#include "PDTNumConst.h"
#include "PDTCodeGraph.h"


PDTNumConst::PDTNumConst(PDTCodeGraph & CG):PDTExpNumSing(CG){
	CG.addConst(this);
}


PDTNumConstInt::PDTNumConstInt(PDTCodeGraph & CG,int value):PDTNumConst(CG){
    this->value=value;
}

PDTNumConstDbl::PDTNumConstDbl(PDTCodeGraph & CG,double value):PDTNumConst(CG){
    this->value=value;
}
